vpQs.h File Reference

Vqual quarter-sample motion compensation implementation. More...

Go to the source code of this file.

Functions

VQ_EXTERN_C VQ_DECL void VP_QsInit (long width, long height)
VQ_EXTERN_C VQ_DECL void VP_Qs (VP_Surface *ref, unsigned char *dst, int blockSide, int x, int y, int h, int v, int rc)
VQ_EXTERN_C VQ_DECL void VP_QsField (VP_Surface *ref, unsigned char *dst, int blockSide, int x, int y, int h, int v, int rc, int predField, int refField)
VQ_EXTERN_C VQ_DECL void VP_QsInfo (VP_PluginInfo *info)

Detailed Description

This header defines the interface for the Vprove 'vpQs' DLL. Users may customise the behaviour of Vprove by substituting there own DLL in place of the default supplied by Vqual.

To create a substitute DLL, users must compile a Microsoft Windows DLL using Microsoft Visual Studio. The DLL must export 'C' functions as declared in this header.

Id
vpQs.h 1515 2004-01-26 15:41:07Z mattb

Copyright (C) 2003 Vqual


Function Documentation

VQ_EXTERN_C VQ_DECL void VP_QsInit ( long  width,
long  height 
)

Initialise QS module

Parameters:
width image width in pixels
height image height in pixels

This should be called once before the first use of VP_Qs() for a given image size.

VQ_EXTERN_C VQ_DECL void VP_Qs ( VP_Surface *  ref,
unsigned char *  dst,
int  blockSide,
int  x,
int  y,
int  h,
int  v,
int  rc 
)

Calculate motion predicted block with quarter sample interpolation

Parameters:
ref pointer to reference VOP surface
dst pointer to blockSide x blockSide block to receive motion compensated result
blockSide width and height of destination block in pixels (should be 8 or 16)
x horizontal co-ordinate of block top-left pixel
y vertical co-ordinate of block top-left
h horizontal motion vector component
v vertical motion vector component
rc rounding control value 0 or 1
VQ_EXTERN_C VQ_DECL void VP_QsField ( VP_Surface *  ref,
unsigned char *  dst,
int  blockSide,
int  x,
int  y,
int  h,
int  v,
int  rc,
int  predField,
int  refField 
)

Calculate interlace field motion predicted block with quarter sample interpolation

Parameters:
ref pointer to reference VOP surface
dst pointer to blockSide x blockSide block to receive motion compensated result
blockSide width and height of destination block in pixels (should be 8 or 16)
x horizontal co-ordinate of block top-left pixel
y vertical co-ordinate of block top-left
h horizontal motion vector component
v vertical motion vector component
rc rounding control value 0 or 1
predField field vertical offset in dst (0 or 1)
refField field vertical offset in ref (0 or 1)
VQ_EXTERN_C VQ_DECL void VP_QsInfo ( VP_PluginInfo *  info  ) 

Retrieve information about VP_Qs implementation

Parameters:
info pointer to struct to be filled in


Main page Mon May 18 23:12:44 2020